﻿@using zichan.Entity
@model zichan.Entity.ServerInfo
@{
    ViewBag.Title = "serverPart_ImproveInformation";
}
<div class="col-md-6">
    <h3 class="form-section">完善信息</h3>
    @using (Html.BeginForm("serverPart_ImproveInformation", "Assetes"))
    {
        <input type="hidden" name="AssetId" id="AssetId" value="@ViewBag.id" />
        <div class="row" style="margin-top:5px;">
            <div class="form-group ">
                <label class="col-md-3 control-label xh">品牌:</label>
                <div class="col-md-9">
                    @Html.TextBoxFor(o => o.Brand, new { @class = "form-control" })
                    <span class="help-block">
                        @Html.ValidationMessageFor(o => o.Brand)
                    </span>
                </div>
            </div>
    </div>
    <div class="row" style="margin-top:5px;">
        <div class="form-group ">
            <label class="col-md-3 control-label xh">型号:</label>
            <div class="col-md-9">
                @Html.TextBoxFor(o => o.Version, new { @class = "form-control" })
                <span class="help-block">
                    @Html.ValidationMessageFor(o => o.Version)
                </span>
            </div>
        </div>
    </div>
    <div class="row" style="margin-top:5px;">
        <div class="form-group ">
            <label class="col-md-3 control-label xh">序列号:</label>
            <div class="col-md-9">
                @Html.TextBoxFor(o => o.SerialNumber, new { @class = "form-control" })
                <span class="help-block">
                    @Html.ValidationMessageFor(o => o.SerialNumber)
                </span>
            </div>
        </div>
    </div>
    <div class="row" style="margin-top:5px;">
        <div class="form-group ">
            <label class="col-md-3 control-label xh">U数:</label>
            <div class="col-md-9">
                @Html.TextBoxFor(o => o.U_Number, new { @class = "form-control" })
                <span class="help-block">
                    @Html.ValidationMessageFor(o => o.U_Number)
                </span>
            </div>
        </div>
    </div>
    <div class="row" style="margin-top:5px;">
        <div class="form-group ">
            <label class="col-md-3 control-label xh">CPU:</label>
            <div class="col-md-9">
                @Html.TextBoxFor(o => o.CPU, new { @class = "form-control" })
                <span class="help-block">
                    @Html.ValidationMessageFor(o => o.CPU)
                </span>
            </div>
        </div>
    </div>
    <div class="row" style="margin-top:5px;">
        <div class="form-group ">
            <label class="col-md-3 control-label xh">内存:</label>
            <div class="col-md-9">
                @Html.TextBoxFor(o => o.Memory, new { @class = "form-control" })
                <span class="help-block">
                    @Html.ValidationMessageFor(o => o.Memory)
                </span>
            </div>
        </div>
    </div>
    <div class="row" style="margin-top:5px;">
        <div class="form-group ">
            <label class="col-md-3 control-label xh">硬盘:</label>
            <div class="col-md-9">
                @Html.TextBoxFor(o => o.HardDisk, new { @class = "form-control" })
                <span class="help-block">
                    @Html.ValidationMessageFor(o => o.HardDisk)
                </span>
            </div>
        </div>
    </div>
    <div class="row" style="margin-top:5px;">
        <div class="form-group ">
            <label class="col-md-3 control-label xh">RAID卡:</label>
            <div class="col-md-9">
                @Html.TextBoxFor(o => o.HardWareRAID, new { @class = "form-control" })
                <span class="help-block">
                    @Html.ValidationMessageFor(o => o.HardWareRAID)
                </span>
            </div>
        </div>
    </div>
    <div class="row" style="margin-top:5px;">
        <div class="form-group ">
            <label class="col-md-3 control-label xh">网口:</label>
            <div class="col-md-9">
                @Html.TextBoxFor(o => o.Comb, new { @class = "form-control" })
                <span class="help-block">
                    @Html.ValidationMessageFor(o => o.Comb)
                </span>
            </div>
        </div>
    </div>
    <div class="row" style="margin-top:5px;">
        <div class="form-group ">
            <label class="col-md-3 control-label xh">出厂时间:</label>
            <div class="col-md-9">
                @Html.TextBoxFor(o => o.DeliveryTime, new { @class = "form-control", @placeholder = "如：2016/1/1" })
                @*<span class="col-md-addtime DeliveryTime">
                    <i class="fa fa-calendar bigger-110 "></i>
                </span>*@
                <span class="help-block">
                    @Html.ValidationMessageFor(o => o.DeliveryTime)
                </span>
            </div>
        </div>
    </div>
    <div class="row" style="margin-top:5px;">
        <div class="form-group ">
            <label class="col-md-3 control-label xh">过保时间:</label>
            <div class="col-md-9">
                @Html.TextBoxFor(o => o.WarrantyTime, new { @class = "form-control", @placeholder = "如：2016/1/1" })
                @*<span class="col-md-addtime WarrantyTime">
                    <i class="fa fa-calendar bigger-110 "></i>
                </span>*@
                <span class="help-block">
                    @Html.ValidationMessageFor(o => o.WarrantyTime)
                </span>
            </div>
        </div>
    </div>
    <div class="row" style="margin-top:5px;">
        <div class="form-group ">
            <label class="col-md-3 control-label">管理员:</label>
            <div class="col-md-9">
               @Html.DropDownList("AdminiStratorId",(SelectList)ViewBag.Staffs,"请选择",new { @class = "form-control" })
            </div>
        </div>
    </div>
        <div class="row" style="margin-top:5px;">
            <div class="col-md-offset-3 col-md-9">
                <button type="submit" class="btn green">提交</button>
                <a href="/Assetes/Index" class="btn default">返回</a>
            </div>
        </div>
    }

</div>
@*@section footer{
    @Scripts.Render("~/bundles/jqueryval")
}*@